.car_content{
    min-height: 480px;
}
.title {
    background-color: #eee;
    line-height: 50px;
    /*  垂直居中对齐 */
    border: 1px solid #ddd;
    margin-top: 1.5em;
    display: flex;
    justify-content: space-around;
}

.title div {
    /*设置class=title元素里面的div的样式*/
    text-align: center;
}

.title div:first-child {
    /*设置class=title元素里面第一个div的样式*/
    text-align: left;
}

.goodsItem {
    line-height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 2px solid #ccc;
}
.goodsItem .thumb{
    display: flex;
    align-items: center;
}
.goodsItem img {
    width: 80px;
    height: 80px;
}

.goodsItem div {
    /*设置class=title元素里面的div的样式*/
    text-align: center;
}

.goodsItem div:first-child {
    /*设置class=title元素里面第一个div的样式*/
    text-align: left;
}
.nums{
    display: flex;
}
.sub,
.add {
    width: 26px;
    line-height: 26px;
    border: 1px solid #ddd;
    display: inline-block;
    /*a标签是内联元素，内联元素无法设置宽度，通过display: inline-block;把当前元素改为内联块元素，即可让宽度设置有效，同时又是内联元素*/
    text-decoration: none;
    /*去除超链接的下划线*/
}

.num {
    width: 50px;
    height: 28px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-right: none;
    border-left: none;
    text-align: center;
}

.toPay {
    width: 100px;
    line-height: 50px;
    background-color: rgb(229, 122, 243);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: bolder;
    /*字体加粗*/
}
.alltotalDiv{
    display: flex;
    justify-content: space-between;
    margin:20px 0;
    height: 50px;
    border: 1px solid #ddd;
}
.alltotalDiv>div {
    line-height: 50px;
    padding-left: 15px;
    font-size: 13px;
    flex: 1;
}
.alltotalDiv p{
    line-height: 50px;
    padding: 0 15px;
}
#count,
#allTotal {
    color: red;
    font-size: 16px;
}